<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    .box {
      width: 1250px;
      height: 48px;
      position: relative;
      border: 1px solid #ccc;
    }
    .drag-box {
      height: 100%;
      position: absolute;
      text-align: center;
      line-height: 48px;
      user-select: none;
      cursor: pointer;
      transition: left 0.2s;
    }
    .mini-box {
      width: 100px;
      height: 48px;
      border-radius: 4px;
      line-height: 48px;
      text-align: center;
      position: absolute;
      cursor: move;
    }
  </style>
  <body>
    <div class="box"></div>
    <script src="./notTableDrag.js"></script>
    <script>
      document.querySelector(".box").getAttribute;
    </script>
  </body>
</html>
